package com.groupnections.server.database.entities;

import java.util.List;

import com.googlecode.objectify.Objectify;
import com.groupnections.server.database.ObjectifyServiceCreation;
import com.groupnections.shared.Entity;

public class ListEntities {

	public static List<Entity> list() {

		Objectify objfyService = ObjectifyServiceCreation.gerService();

		List<Entity> entitiesList = objfyService.query(Entity.class)
				.order("entityName").list();

		return entitiesList;
	}

	// SaveEntity.save(EntitiesData.loadAllineWatkins());
	// SaveEntity.save(EntitiesData.loadAaronVonderHaar());
	// SaveEntity.save(EntitiesData.loadPhelan());
	// SaveEntity.save(EntitiesData.loadLiveSource());
	// SaveEntity.save(EntitiesData.loadProjectTicTacToe());
	// SaveEntity.save(EntitiesData.loadProjectTravelLog());
	// SaveEntity.save(EntitiesData.loadProjectGroupnection());

}